import request from "../utils/request";
export function applyList():any  {
    return request({
        type:'get',
        url:"/leave/list",
        data:{},
        mock:true
      })
}

export function applyCreate():any  {
    return request({
        type:'post',
        url:"/leave/create",
        data:{},
        mock:true
      })
}

export function applyDelete(id:string):any  {
    return request({
        type:'post',
        url:"/leave/delete",
        data:{id},
        mock:true
      })
}

export function applyEdit():any  {
    return request({
        type:'post',
        url:"/leave/edit",
        data:{},
        mock:true
      })
}